<?php

namespace app\admin\validate;
use think\Validate;
class Company extends Validate
{
// 定义验证规则
    protected $rule = [
        'company_name|企业名称'   => 'require|unique:admin_company'
    ];
}